Auto merge of #4374 - behnam:new-init, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 8 Aug 2017 00:05:36 +0000 (00:05 +0000)
committerbors <bors@rust-lang.org>
Tue, 8 Aug 2017 00:05:36 +0000 (00:05 +0000)
[cargo_new] Hint to use `cargo init` on existing dir

The `new` command always expects a non-existing path. The `init` command
always expects an existing path. Therefore, it makes sense to hint to
use `init` if the pre-condition to `new` is not satisfied.

Fixes <#4366>


Trivial merge